<div id="profile">
    <div id="ProfileHeader">
        <div class="FixedContainer row clearfix">
            <div class="info">
                <a class="ProfileImage" target="_blank" href="/images/avatar/avatar.jpg">
                	<%= image_tag "/images/avatar/avatar.jpg", :alt => @user.name %>
                </a>
                <div class="content">
                    <h1><%= @user.name %></h1>
                </div>
            </div>
        </div>
    </div>
    <div id="ContextBar" class="container sticky">
        <div class="FixedContainer">
            <ul class="links">
                <li>
                    <a href="/user/account/<%= @user.id%>"><strong><%= @boards.count%></strong> 画板</a>
                </li>
                <li>
                    <a href="/user/pins/<%= @user.id%>"><strong><%= @user.pins.count%></strong> 采集</a>
                </li>
                <li>
                    <a class="selected" href="/user/likes/<%= @user.id%>"><strong><%= @user.user_pins.count%></strong> 喜欢</a>
                </li>
            </ul>
			<ul class="follow"></ul>
			<div class="action">
				<% if logged_in? && current_user.id == @user.id%>
				<%= link_to "账号设置", {:controller => :user, :action => :setting}, :class => "Button13 Button WhiteButton Left Tab"%>
				<a id="RearrangeButton"></a>
				<% end%>
			</div>
        </div>
    </div>
</div>
<div id="ColumnContainer">
</div>
<div id="loading">
    <img src="/images/loader.gif" />
	<span>正在加载...</span>
</div>
<script type="text/javascript">
    var apiURL = "/user/likes";
	var user_id = "<%= params[:id]%>";
</script>
<script type="text/javascript" src="/javascripts/load_data.js">
</script>

